package com.sslab.vehiclemgmt.repository;

import com.sslab.vehiclemgmt.entity.Payment;
import com.sslab.vehiclemgmt.entity.RepairOrder;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface PaymentRepository extends JpaRepository<Payment, Long> {
    Payment findByRepairOrder(RepairOrder repairOrder);
    List<Payment> findByStatus(String status);
}
